Retrieve Audit Record

Command:

This command allows a single audit record to be returned to the host system.

Notes:

This command cannot be added to the list of commands to be audited. The record returned is the next record in the audit buffer that does not have its ‘retrieved’ bit set to 1. The data returned includes the audit counter, the timestamp, the MAC, and the MAC key.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Command Code

2 A

Value “Q2”

End Message Delimiter

1 C

Optional. Must be present if a message trailer is present. Value X'19

Message trailer

n A

Optional. Maximum length 32 characters.

RESPONSE MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Response Code

2 A

Value “Q3”

Error Code

2 N

00 – No error
13 – LMK error - report to Supervisor
15 – Error in input data
35 – No Audit Records found
36 – All Audit Records have been retrieved

Audit Record

80 H

The Audit record

End Message Delimiter

1 C

Will only be present if present in the command message. Value X'19

Message Trailer

n A

Will only be present if in the command message. Maximum length 32 characters